package router

import (
	"api-gateway/handler/api"
	"github.com/gin-gonic/gin"
)

func BrandRouter(v1 *gin.RouterGroup) {
	brand := v1.Group("/brand")
	{
		brand.POST("/brandAdd", api.BrandAdd)        //品牌添加
		brand.POST("/brandDel", api.BrandDel)        //品牌删除
		brand.POST("/brandUpdate", api.BrandUpdate)  //品牌修改
		brand.GET("/brandFind", api.BrandFind)       //品牌展示
		brand.GET("/brandDetails", api.BrandDetails) //品牌详情
	}
}
